package tools

import "go-caipu/pkg/services/dto"

type SysTableSearch struct {
	TBName         string `form:"tableName" search:"type:exact;column:table_name;table:table_name"`
	TableComment   string `form:"tableComment" search:"type:icontains;column:table_comment;table:table_comment"`
	dto.Pagination `search:"-"`
}
type InsertSysTableCmd struct {
	Tables []string `json:"tables"`
}
type RemoveToolsCommand struct {
	Ids []int `json:"ids"`
}

type SysDBTableSearch struct {
	TableName      string `form:"tableName" search:"type:exact;column:table_name;table:table_name"`
	TableComment   string `form:"tableComment" search:"type:icontains;column:table_comment;table:table_comment"`
	dto.Pagination `search:"-"`
}
type GetColumnSearch struct {
	dto.Pagination `search:"-"`
}
